/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.tamagochi;

import br.com.tamagochi.view.View;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 *
 * @author Allan & Fabiana
 */
public class JTamagochi {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        initLookAndFeel();
        
        new View();
                
    }
    
    private static void initLookAndFeel() {
        //coloca o look and feel padrão do sistema.
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (ClassNotFoundException ex) {
            ex.printStackTrace();
        } catch (InstantiationException ex) {
            ex.printStackTrace();
        } catch (IllegalAccessException ex) {
            ex.printStackTrace();
        } catch (UnsupportedLookAndFeelException ex) {
            ex.printStackTrace();
        }
    }
    
}
